﻿<?xml version="1.0" encoding="utf-8" ?>
<GadgeteerDefinitions xmlns="http://schemas.microsoft.com/Gadgeteer/2011/Hardware">
  <MainboardDefinitions>
    <!-- This mainboard definition should be filled in.  Mouse over any attribute name to get more help about that attribute. -->
    <!-- For file paths, do not use forward slash (/), use backslash (\) or it fails in Windows XP. -->
    <MainboardDefinition
            Name="FEZCerbuinoNet"
            Type="GHIElectronics.Gadgeteer.FEZCerbuinoNet"
            HardwareVersion="1.0"
            Image="Resources\Image.jpg"
            BoardWidth="85"
            BoardHeight="57"
            MinimumGadgeteerCoreVersion="2.42.500"
            HelpUrl="https://www.ghielectronics.com/catalog/product/473"
            >

      <!-- Assemblies listed here are added to the project as references by the designer whenever this module is instantiated.  -->
      <!-- This functionality is used to -->
      <!--   (1) include the output assemblies of this template -->
      <!--   (2) include other custom assemblies that the mainboard relies on (NB you must edit msm.wxs so these are installed too) -->
      <!-- Some examples are provided inline: -->

      <Assemblies>
        <!-- This lists the assemblies which provides the API to this mainboard, i.e. the output assemblies of this template. -->
        <!-- If you do not provide support for both NETMF 4.1 and 4.2, the relevant lines should be removed -->
        <!-- NB you should use the same name for the same assembly's NETMF 4.1 and NETMF 4.2 versions, since this will make it easier for users to change framework versions -->
        <!-- <Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZCerbuinoNet"/> -->
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZCerbuinoNet"/>

        <!-- If your mainboard driver relies on another assembly, then list it here (and see the msm.wxs file since you need to include it in the installer too), e.g.: -->
        <!--
        <Assembly MFVersion="4.1" Name="GHIElectronics.CustomAssembly"/>
        <Assembly MFVersion="4.2" Name="GHIElectronics.CustomAssembly"/>
        -->
      </Assemblies>

      <!-- This is a list of sockets provided by this mainboard for modules to be attached to. -->
      <ProvidedSockets>

		  <ProvidedSocket Label="1" Left="79.5" Top="14" Orientation="0" ConstructorParameter="1">
			  <Types>
				  <Type>P</Type>
				  <Type>S</Type>
				  <Type>U</Type>
				  <Type>X</Type>
			  </Types>
		  </ProvidedSocket>

		  <ProvidedSocket Label="2" Left="79.5" Top="28" Orientation="0" ConstructorParameter="2">
			  <Types>
				  <Type>A</Type>
				  <Type>I</Type>
				  <Type>K</Type>
				  <Type>U</Type>
				  <Type>Y</Type>
			  </Types>
			  <SharedPinMaps>
				  <SharedPinMap NetId="I2CSDA" SocketPin="8" />
				  <SharedPinMap NetId="I2CSCL" SocketPin="9" />
			  </SharedPinMaps>
		  </ProvidedSocket>

		  <ProvidedSocket Label="3" Left="79.5" Top="42" Orientation="0" ConstructorParameter="3">
			  <Types>
				  <Type>A</Type>
				  <Type>O</Type>
				  <Type>P</Type>
				  <Type>Y</Type>
			  </Types>
		  </ProvidedSocket>

      </ProvidedSockets>

      <LibrariesProvided>
        <!-- This should be filled in with a list of assemblies provided by the mainboard which are not the standard NETMF assemblies.  Delete the example "CustomMFAssembly" below. -->
        <!-- Providing this list allows the designer to automatically determine when a module that only works with specific mainboards is compatible with the current mainboard. -->
        <!--
        <Assembly MFVersion="4.1" Name="CustomMFAssembly"/>
        <Assembly MFVersion="4.2" Name="CustomMFAssembly"/>
        <Assembly MFVersion="4.3" Name="CustomMFAssembly"/>
        -->

        <!-- The mainboard assembly itself (as listed under <Assemblies> above) should also be listed here, to enable modules representing built-in functionality of a mainboard.-->
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZCerbuinoNet" />
		<Assembly MFVersion="4.3" Name="GHIElectronics.Gadgeteer.FEZCerbuinoNet" />
      </LibrariesProvided>

      <!-- Uncomment to specify power consumption data for use by the VS designer. -->
      <!-- Do not partially fill this in - either fill it all in or leave it out totally. -->
      <!-- Values are in Volts or Amps respectively.  Use the special value Infinity, e.g. if the maximum current is unknown (such as for a motor). -->
		
      <Power>
		  <PowerRequirements Voltage="3.3">
			  <TypicalCurrent>0.139</TypicalCurrent>
			  <MaximumCurrent>0.154</MaximumCurrent>
		  </PowerRequirements>

		  <PowerRequirements Voltage="5">
			  <TypicalCurrent>0.0</TypicalCurrent>
			  <MaximumCurrent>0.0</MaximumCurrent>
        </PowerRequirements>
      </Power>

    </MainboardDefinition>
  </MainboardDefinitions>
</GadgeteerDefinitions>